package com.wwc.sc;

import com.wwc.myrule.WwcRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * 当ribbon和eureka 整合之后 就不用关心IP地址和端口号了 客户端可以直接调用
 */
@SpringBootApplication
@EnableEurekaClient
@RibbonClient(name = "SC-PROVIDER-DEPT",configuration = WwcRule.class)
public class WwcScConsumerDept_80 {
    public static void main(String[] args) {
        SpringApplication.run(WwcScConsumerDept_80.class,args);
    }
}
